package com.joysuch.wwyt.bp.repository;

import com.joysuch.wwyt.bp.entity.BpWorkSafetyFileAnalyze;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface BpWorkSafetyFileAnalyzeDao extends JpaRepository<BpWorkSafetyFileAnalyze, Long> {

    List<BpWorkSafetyFileAnalyze> findByCertId(Long certId);

    void deleteByCertId(Long id);
}
